package com.qyhl.webtv.module_microvideo.shortvideo.play;


import com.qyhl.webtv.commonlib.entity.microvideo.ShortVideoBean;

import java.util.List;

public interface ShortVideoPlayContract {
    interface ShortVideoPlayView {
        void setDetail(ShortVideoBean bean);

        void setError(String msg);

        void praiseSuccess();

        void praiseError(String msg);

        void setData(List<ShortVideoBean> beanList);

        void setDataError(String msg);

        void setFollowNum(String followNum);
    }

    interface ShortVideoPlayPresenter {
        void getDetail(String workId, String phone);

        void doPraise(String workId, String phone);

        void getFollowNum(String workId);

        void setDetail(ShortVideoBean bean);

        void setError(String msg);

        void praiseSuccess();

        void praiseError(String msg);

        void getData(String actId, String page, int type);

        void setData(List<ShortVideoBean> beanList);

        void setDataError(String msg);

        void setFollowNum(String followNum);
    }

    interface ShortVideoPlayModel {
        void getDetail(String workId, String phone);

        void doPraise(String workId, String phone);

        void getData(String actId, String page, int type);

        void getFollowNum(String workId);
    }
}
